#coding:utf-8


import math

def is_sqr(x):
    r= int(math.sqrt(x))
    return r*r==x

def is_odd(x):
    return x%2==0

print (list(filter(is_sqr, range(1, 101))))
print (list(filter(is_odd, range(1, 101))))